package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表信息
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("system_user")
@ApiModel(value="SystemUserDO对象", description="用户表信息")
public class SystemUserDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "姓名")
    private String fullName;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "工号")
    private String jobNumber;

    @ApiModelProperty(value = "手机号（账号）")
    private String mobile;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别(1、男，2、女，3、其它)")
    private Integer sex;

    @ApiModelProperty(value = "工作年限")
    private Integer workingYears;

    @ApiModelProperty(value = "简介")
    private String brief;

    @ApiModelProperty(value = "擅长")
    private String beGoodAt;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "帐户是否过期(1 未过期，0已过期)")
    private Integer isAccountNonExpired;

    @ApiModelProperty(value = "帐户是否被锁定(1 未过期，0已过期)")
    private Integer isAccountNonLocked;

    @ApiModelProperty(value = "密码是否过期(1 未过期，0已过期)")
    private Integer isCredentialsNonExpired;

    @ApiModelProperty(value = "帐户是否可用(1 可用，2 删除用户)")
    private Integer isEnabled;

    @ApiModelProperty(value = "提现密码")
    private String extractPassword;


    @ApiModelProperty(value = "微信的OpenID")
    private String wxOpenId;

    @ApiModelProperty(value = "头像url")
    private String imageUrl;

    @ApiModelProperty(value = "店铺ID")
    private  String shopId;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "密码更新时间")
    private Date pwdUpdateDate;


}
